<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<link rel="stylesheet" href="{yun:}$config.sy_weburl{/yun}/app/template/wap/hb/reset.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
	<script>
		window.onerror=function(){return true;}
	</script>
	<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
	<script type="text/javascript">
		if (navigator.userAgent.indexOf('AlipayClient') > -1) {
			document.writeln('<script src="https://appx/web-view.min.js"' + '>' + '<' + '/' + 'script>');
		}
	</script>
	<script type="text/javascript" src="https://b.bdstatic.com/searchbox/icms/searchbox/js/swan-1.7.0.js"></script>
	<script type="text/javascript" src="https://js.cdn.aliyun.dcloud.net.cn/dev/uni-app/uni.webview.1.5.2.js"></script>
</head>

<body>
	<div class="hb_jobbox1">
    	<div class="hb_jobbox1cont">
			<div class="hb1_ewm">
				<img src="{yun:}url m=wap c=ajax a=pubqrcode toc=company toa=show toid=$smarty.get.id{/yun}" width="180" height="180" />
			</div>
			<div class="hb1_comname">{yun:}$comname{/yun}</div>
         	<div class="hb1_webname">{yun:}$config.sy_webname{/yun} ({yun:}$config.sy_weburl{/yun})</div>
		</div>
	</div>
	
	<div class="hb_generate" style="display:none;" id="hb_a">
		<a href="javascript:void(0);" onclick="toShow('{yun:}url m=wap c=company a=ws id=$smarty.get.id hb=1{/yun}')" class="hb_generate_bth">生成海报</a>
	</div>
		
	<script type="text/javascript" src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.1.min.js?v={yun:}$config.cachecode{/yun}"></script>
	<script>
		var uniReady = false;
		document.addEventListener('UniAppJSBridgeReady', function() {
			var uu = '{yun:}$smarty.get.uu{/yun}',
				token = '{yun:}$smarty.get.token{/yun}';
			if(uu.trim() !='' && token.trim() !=''){
				uniReady = true;
			}
		});
		
     	$(document).ready(function() {
           	'{yun:}if $smarty.get.a == hbshow {/yun}'
           		$('#hb_a').show();
           	'{yun:}/if{/yun}'
     	});
		function toShow(url){
			if(uniReady){
				uni.redirectTo({
					url: '/pson/pages/haibao/show?id=1'
				});
			}else{
				window.location.href = url;
			}
		}
   	</script>
</body>